﻿<%@ page language="C#" masterpagefile="~/Member/MemMaster.master" CodeBehind="EmpUpt.aspx.cs"
  autoeventwireup="true" inherits="PayRoller.Member.EmpUpt" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language=javascript>
function Check() {
var vtxtEmpName=document.getElementById("ctl00_ContentPlaceHolder1_txtEmpName");
var vtxtOrgEmpSid=document.getElementById("ctl00_ContentPlaceHolder1_txtOrgEmpSid");
var vtxtTaxFileNumber=document.getElementById("ctl00_ContentPlaceHolder1_txtTaxFileNumber");
					
if( vtxtEmpName.value.length == 0 )
{
alert("Field 'Employee Name' is not valid!");
vtxtEmpName.focus();
return false;
}					
if( vtxtOrgEmpSid.value.length == 0 )
{
alert("Field 'Employee ID' is not valid!");
vtxtOrgEmpSid.focus();
return false;
}					
if( vtxtTaxFileNumber.value.length == 0 )
{
alert("Field 'Tax File Number' is not valid!");
vtxtTaxFileNumber.focus();
return false;
}		
		
return true;
}
</script>
<table width="620" align="center" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td height="22">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="22">Employee Name:</td>
    <td>
        <asp:TextBox ID="txtEmpName" runat="server" Width="200px"></asp:TextBox>
        <span class="styledot" style="color: #ff0000">*</span>
        </td>
  </tr>
  <tr>
    <td width="35%" height="22">Employee ID:</td>
    <td>
        <asp:TextBox ID="txtOrgEmpSid" runat="server" Width="200px"></asp:TextBox>
        <span class="styledot" style="color: #ff0000">*</span>
        </td>
  </tr>
  <tr>
    <td height="22">Tax File Number:</td>
    <td>
        <asp:TextBox ID="txtTaxFileNumber" runat="server" Width="200px"></asp:TextBox>
        <span class="styledot" style="color: #ff0000">*</span>
        </td>
  </tr>
  <tr>
    <td height="22">Address:</td>
    <td>
        <asp:TextBox ID="txtAddress1" runat="server" Width="200px"></asp:TextBox>
        </td>
  </tr>
  <tr>
    <td height="22"></td>
    <td>
        <asp:TextBox ID="txtAddress2" runat="server" Width="200px"></asp:TextBox>
        </td>
  </tr>
  <tr>
    <td height="22" colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td height="22" colspan="2"><div align="center">
        <asp:Button ID="Button1" runat="server" Text="Save" OnClick="Button1_Click" CssClass="submitBtn" />
        &nbsp;&nbsp;&nbsp;&nbsp;
        <a href="#" onClick="history.go(-1);">Return</a>
        </div></td>
  </tr>
                <tr>
                  <td height="22" colspan="2"><div align="left">
                      <asp:Label ID="lblTip" runat="server"></asp:Label>
                  </div></td>
                </tr>
</table>
</asp:Content>
